package com.sdx.console.promote.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.sdx.console.promote.entity.*;

/**
 * 推广链接 Dao
 */
@SqlResource("promote.promoteLink")
public interface PromoteLinkDao extends BaseMapper<PromoteLink>{
    public PageQuery<PromoteLink> queryByCondition(PageQuery query);
    public void batchDelPromoteLinkByIds( List<String> ids);
    public List<PromoteLink> selectValid(Integer tenantId);
}